PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Lasers / suksma - raron - dark side of the moon (pink floyd) 6 variable length - defiled then martinized.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.951 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.200 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.250 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=256 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.55030 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.030 |
| 88 | wave_0_per_frame1= |
| 89 | wave_0_per_frame2=// Ray startpoint |
| 90 | wave_0_per_frame3=angle = 1;//2 + q1 + bass * 0.1; |
| 91 | wave_0_per_frame4=dist = 0.049; |
| 92 | wave_0_per_frame5=t4 = angle; |
| 93 | wave_0_per_frame6= |
| 94 | wave_0_per_frame7=// Ray |
| 95 | wave_0_per_frame8=dist2 = 0.4;// * bass_att; |
| 96 | wave_0_per_frame9=a = (bass-bass_att) * 0.08; |
| 97 | wave_0_per_frame10=angle2 = -1;//a* 100 - 1; |
| 98 | wave_0_per_frame11=width = 10 + 0.2; |
| 99 | wave_0_per_frame12= |
| 100 | wave_0_per_frame13=t3 = dist; |
| 101 | wave_0_per_frame14=t4 = angle; |
| 102 | wave_0_per_frame15=t5 = dist2; |
| 103 | wave_0_per_frame16=t6 = width * 0.05; |
| 104 | wave_0_per_frame17=t7 = angle2; |
| 105 | wave_0_per_point1=pi23=asin(-1)*4; |
| 106 | wave_0_per_point2=r = 0.1 + 0.5 * cos((q9*3.2+sample+0*pi23) * 6.2832); |
| 107 | wave_0_per_point3=g = 0.1 + 0.5 * cos((q9*3.1+sample+1*pi23) * 6.2832); |
| 108 | wave_0_per_point4=b = 0.1 + 0.5 * cos( q9*3.0+sample+2*pi23); |
| 109 | wave_0_per_point5= |
| 110 | wave_0_per_point6=angle = sample;//t4 + (t6 * (sample-0.5)); |
| 111 | wave_0_per_point7=ptx = 0.5 + cos(angle*tan(q9*3.9)*4+value1-t7)*t3 ; |
| 112 | wave_0_per_point8=pty = 0.5 + sin(angle*sin(q9*4)*4+value2-t7)*t3 ; |
| 113 | wave_0_per_point9= |
| 114 | wave_0_per_point10=otest = (sample*512)%2; |
| 115 | wave_0_per_point11=x = if(equal(otest,0),ptx,x); |
| 116 | wave_0_per_point12=y = if(equal(otest,0),pty,y); |
| 117 | wave_0_per_point13= |
| 118 | wave_0_per_point14=ptx = 0.5 + cos(angle*cos(q9*4.1)*4 + t7)*t5; |
| 119 | wave_0_per_point15=pty = 0.5 + sin(angle*atan(q9*4.2)*4 + t7)*t5*q8; |
| 120 | wave_0_per_point16= |
| 121 | wave_0_per_point17=x = if(equal(otest,1),ptx,x); |
| 122 | wave_0_per_point18=y = if(equal(otest,1),pty,y); |
| 123 | wave_0_per_point19= |
| 124 | wave_0_per_point20=a=1; |
| 125 | wavecode_1_enabled=0 |
| 126 | wavecode_1_samples=512 |
| 127 | wavecode_1_sep=0 |
| 128 | wavecode_1_bSpectrum=0 |
| 129 | wavecode_1_bUseDots=0 |
| 130 | wavecode_1_bDrawThick=0 |
| 131 | wavecode_1_bAdditive=0 |
| 132 | wavecode_1_scaling=1.00000 |
| 133 | wavecode_1_smoothing=0.50000 |
| 134 | wavecode_1_r=1.000 |
| 135 | wavecode_1_g=1.000 |
| 136 | wavecode_1_b=1.000 |
| 137 | wavecode_1_a=0.000 |
| 138 | wave_1_per_frame1= |
| 139 | wave_1_per_frame2=// Ray startpoint |
| 140 | wave_1_per_frame3=angle = 4.4 + q1 ; |
| 141 | wave_1_per_frame4=dist = 0.049; |
| 142 | wave_1_per_frame5= |
| 143 | wave_1_per_frame6=// Ray |
| 144 | wave_1_per_frame7=dist2 = bass_att * 0.5; |
| 145 | wave_1_per_frame8=ofac = bass_att * 0.03; |
| 146 | wave_1_per_frame9=angle2 = bass_att * 0.3 + 0.6; |
| 147 | wave_1_per_frame10=width = bass * 5; |
| 148 | wave_1_per_frame11= |
| 149 | wave_1_per_frame12=t1 = ofac; |
| 150 | wave_1_per_frame13=t3 = dist; |
| 151 | wave_1_per_frame14=t4 = angle; |
| 152 | wave_1_per_frame15=t5 = dist2; |
| 153 | wave_1_per_frame16=t6 = width * 0.01953125; |
| 154 | wave_1_per_frame17=t7 = angle2; |
| 155 | wave_1_per_point1=a = t1 * sin(sample * 3.1415); |
| 156 | wave_1_per_point2= |
| 157 | wave_1_per_point3=angle = t4 + (t6 * (sample-0.5)); |
| 158 | wave_1_per_point4=ptx = 0.5 + cos(angle)*t3; |
| 159 | wave_1_per_point5=pty = 0.5 + sin(angle)*t3*q8; |
| 160 | wave_1_per_point6= |
| 161 | wave_1_per_point7=otest = (sample*512)%2; |
| 162 | wave_1_per_point8=x = if(equal(otest,0),ptx,x); |
| 163 | wave_1_per_point9=y = if(equal(otest,0),pty,y); |
| 164 | wave_1_per_point10= |
| 165 | wave_1_per_point11=ptx = 0.5 + cos(angle + t7)*t5; |
| 166 | wave_1_per_point12=pty = 0.5 + sin(angle + t7)*t5*q8; |
| 167 | wave_1_per_point13= |
| 168 | wave_1_per_point14=x = if(equal(otest,1),ptx,x); |
| 169 | wave_1_per_point15=y = if(equal(otest,1),pty,y); |
| 170 | wavecode_2_enabled=0 |
| 171 | wavecode_2_samples=512 |
| 172 | wavecode_2_sep=0 |
| 173 | wavecode_2_bSpectrum=0 |
| 174 | wavecode_2_bUseDots=0 |
| 175 | wavecode_2_bDrawThick=0 |
| 176 | wavecode_2_bAdditive=0 |
| 177 | wavecode_2_scaling=37.78329 |
| 178 | wavecode_2_smoothing=0.50000 |
| 179 | wavecode_2_r=1.000 |
| 180 | wavecode_2_g=1.000 |
| 181 | wavecode_2_b=1.000 |
| 182 | wavecode_2_a=1.000 |
| 183 | wave_2_per_frame1= |
| 184 | wave_2_per_frame2=// Ray startpoint |
| 185 | wave_2_per_frame3=angle = 4.4 + q1 ; |
| 186 | wave_2_per_frame4=dist = 0.049; |
| 187 | wave_2_per_frame5=width = bass * 5; |
| 188 | wave_2_per_frame6= |
| 189 | wave_2_per_frame7=// Ray 2 startpoint |
| 190 | wave_2_per_frame8=angle2 = 2 + q1 + bass * 0.1; |
| 191 | wave_2_per_frame9=dist2 = 0.049; |
| 192 | wave_2_per_frame10=width2 = bass * 10 + 0.2; |
| 193 | wave_2_per_frame11= |
| 194 | wave_2_per_frame12=ofac = bass_att * 0.03; |
| 195 | wave_2_per_frame13= |
| 196 | wave_2_per_frame14= |
| 197 | wave_2_per_frame15=t1 = ofac; |
| 198 | wave_2_per_frame16=t2 = width2 * 0.01953125; |
| 199 | wave_2_per_frame17=t3 = dist; |
| 200 | wave_2_per_frame18=t4 = angle; |
| 201 | wave_2_per_frame19=t5 = dist2; |
| 202 | wave_2_per_frame20=t6 = width * 0.01953125; |
| 203 | wave_2_per_frame21=t7 = angle2; |
| 204 | wave_2_per_point1=r = 0.5 + 0.5 * cos((sample+0.125) * 6.2832); |
| 205 | wave_2_per_point2=g = 0.5 + 0.5 * cos((sample+0.375) * 6.2832); |
| 206 | wave_2_per_point3=b = 0.5 + 0.5 * cos(sample * 3.1415); |
| 207 | wave_2_per_point4=a = t1 * sin(sample * 3.1415); |
| 208 | wave_2_per_point5= |
| 209 | wave_2_per_point6=angle = t4 + (t6 * (0.5 - sample)); |
| 210 | wave_2_per_point7=ptx = 0.5 + cos(angle)*t3; |
| 211 | wave_2_per_point8=pty = 0.5 + sin(angle)*t3*q8 ; |
| 212 | wave_2_per_point9= |
| 213 | wave_2_per_point10=otest = (sample*512)%2; |
| 214 | wave_2_per_point11=x = if(equal(otest,0),ptx,x); |
| 215 | wave_2_per_point12=y = if(equal(otest,0),pty,y); |
| 216 | wave_2_per_point13=r = if(equal(otest,0),1,r); |
| 217 | wave_2_per_point14=g = if(equal(otest,0),1,g); |
| 218 | wave_2_per_point15=b = if(equal(otest,0),1,b); |
| 219 | wave_2_per_point16= |
| 220 | wave_2_per_point17= |
| 221 | wave_2_per_point18=angle = t7 + (t2 * (sample-0.5)); |
| 222 | wave_2_per_point19=ptx = 0.5 + cos(angle)*t5; |
| 223 | wave_2_per_point20=pty = 0.5 + sin(angle)*t5*q8; |
| 224 | wave_2_per_point21= |
| 225 | wave_2_per_point22=x = if(equal(otest,1),ptx,x); |
| 226 | wave_2_per_point23=y = if(equal(otest,1),pty,y); |
| 227 | wave_2_per_point24= |
| 228 | wavecode_3_enabled=0 |
| 229 | wavecode_3_samples=512 |
| 230 | wavecode_3_sep=0 |
| 231 | wavecode_3_bSpectrum=0 |
| 232 | wavecode_3_bUseDots=0 |
| 233 | wavecode_3_bDrawThick=0 |
| 234 | wavecode_3_bAdditive=0 |
| 235 | wavecode_3_scaling=1.00000 |
| 236 | wavecode_3_smoothing=0.50000 |
| 237 | wavecode_3_r=1.000 |
| 238 | wavecode_3_g=1.000 |
| 239 | wavecode_3_b=1.000 |
| 240 | wavecode_3_a=1.000 |
| 241 | shapecode_0_enabled=0 |
| 242 | shapecode_0_sides=3 |
| 243 | shapecode_0_additive=0 |
| 244 | shapecode_0_thickOutline=0 |
| 245 | shapecode_0_textured=0 |
| 246 | shapecode_0_num_inst=1 |
| 247 | shapecode_0_x=0.500 |
| 248 | shapecode_0_y=0.500 |
| 249 | shapecode_0_rad=0.25480 |
| 250 | shapecode_0_ang=0.00000 |
| 251 | shapecode_0_tex_ang=0.00000 |
| 252 | shapecode_0_tex_zoom=0.11657 |
| 253 | shapecode_0_r=0.000 |
| 254 | shapecode_0_g=0.000 |
| 255 | shapecode_0_b=0.000 |
| 256 | shapecode_0_a=1.000 |
| 257 | shapecode_0_r2=0.700 |
| 258 | shapecode_0_g2=1.000 |
| 259 | shapecode_0_b2=1.000 |
| 260 | shapecode_0_a2=0.200 |
| 261 | shapecode_0_border_r=1.000 |
| 262 | shapecode_0_border_g=1.000 |
| 263 | shapecode_0_border_b=1.000 |
| 264 | shapecode_0_border_a=1.000 |
| 265 | shape_0_per_frame1=ang = -q1; |
| 266 | shapecode_1_enabled=0 |
| 267 | shapecode_1_sides=3 |
| 268 | shapecode_1_additive=0 |
| 269 | shapecode_1_thickOutline=0 |
| 270 | shapecode_1_textured=0 |
| 271 | shapecode_1_num_inst=1 |
| 272 | shapecode_1_x=0.500 |
| 273 | shapecode_1_y=0.500 |
| 274 | shapecode_1_rad=0.20676 |
| 275 | shapecode_1_ang=0.00000 |
| 276 | shapecode_1_tex_ang=0.00000 |
| 277 | shapecode_1_tex_zoom=1.00000 |
| 278 | shapecode_1_r=0.000 |
| 279 | shapecode_1_g=0.000 |
| 280 | shapecode_1_b=0.000 |
| 281 | shapecode_1_a=1.000 |
| 282 | shapecode_1_r2=0.000 |
| 283 | shapecode_1_g2=0.000 |
| 284 | shapecode_1_b2=0.000 |
| 285 | shapecode_1_a2=1.000 |
| 286 | shapecode_1_border_r=1.000 |
| 287 | shapecode_1_border_g=1.000 |
| 288 | shapecode_1_border_b=1.000 |
| 289 | shapecode_1_border_a=0.000 |
| 290 | shape_1_per_frame1=ang = -q1; |
| 291 | shapecode_2_enabled=0 |
| 292 | shapecode_2_sides=4 |
| 293 | shapecode_2_additive=0 |
| 294 | shapecode_2_thickOutline=0 |
| 295 | shapecode_2_textured=0 |
| 296 | shapecode_2_num_inst=1 |
| 297 | shapecode_2_x=0.500 |
| 298 | shapecode_2_y=0.500 |
| 299 | shapecode_2_rad=0.10000 |
| 300 | shapecode_2_ang=0.00000 |
| 301 | shapecode_2_tex_ang=0.00000 |
| 302 | shapecode_2_tex_zoom=1.00000 |
| 303 | shapecode_2_r=1.000 |
| 304 | shapecode_2_g=0.000 |
| 305 | shapecode_2_b=0.000 |
| 306 | shapecode_2_a=1.000 |
| 307 | shapecode_2_r2=0.000 |
| 308 | shapecode_2_g2=1.000 |
| 309 | shapecode_2_b2=0.000 |
| 310 | shapecode_2_a2=0.000 |
| 311 | shapecode_2_border_r=1.000 |
| 312 | shapecode_2_border_g=1.000 |
| 313 | shapecode_2_border_b=1.000 |
| 314 | shapecode_2_border_a=0.100 |
| 315 | shapecode_3_enabled=0 |
| 316 | shapecode_3_sides=4 |
| 317 | shapecode_3_additive=0 |
| 318 | shapecode_3_thickOutline=0 |
| 319 | shapecode_3_textured=0 |
| 320 | shapecode_3_num_inst=1 |
| 321 | shapecode_3_x=0.500 |
| 322 | shapecode_3_y=0.500 |
| 323 | shapecode_3_rad=0.10000 |
| 324 | shapecode_3_ang=0.00000 |
| 325 | shapecode_3_tex_ang=0.00000 |
| 326 | shapecode_3_tex_zoom=1.00000 |
| 327 | shapecode_3_r=1.000 |
| 328 | shapecode_3_g=0.000 |
| 329 | shapecode_3_b=0.000 |
| 330 | shapecode_3_a=1.000 |
| 331 | shapecode_3_r2=0.000 |
| 332 | shapecode_3_g2=1.000 |
| 333 | shapecode_3_b2=0.000 |
| 334 | shapecode_3_a2=0.000 |
| 335 | shapecode_3_border_r=1.000 |
| 336 | shapecode_3_border_g=1.000 |
| 337 | shapecode_3_border_b=1.000 |
| 338 | shapecode_3_border_a=0.100 |
| 339 | per_frame_init_1=p1 = 2000; p2 = 200; p3=50; |
| 340 | per_frame_1=//martin no religion / my omniversal absence for changing the background light |
| 341 | per_frame_2=vb = vb*0.95 + (1-vb)*pow(abs(bass-bass_att),2)*0.02; |
| 342 | per_frame_3=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 343 | per_frame_4=vm = vm*0.95 + (1-vm)*pow(abs(mid-mid_att),2)*0.02; |
| 344 | per_frame_5=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 345 | per_frame_6=vt = vt*0.95 + (1-vt)*pow(abs(treb-treb_att),2)*0.02; |
| 346 | per_frame_7=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 347 | per_frame_8=vvb = min(1,max(0,vvb)); |
| 348 | per_frame_9=vvm = min(1,max(0,vvm)); |
| 349 | per_frame_10=vvt = min(1,max(0,vvt)); |
| 350 | per_frame_11=runbass=runbass+vvb; |
| 351 | per_frame_12=runmids=runmids+vvm ; |
| 352 | per_frame_13=runtreb=runtreb+vvt; |
| 353 | per_frame_14=pi23=4*asin(-1)*.33333333333333; |
| 354 | per_frame_15=atime=(runtreb+runmids+runbass)*1.85; |
| 355 | per_frame_16=q8= (sin(atime-0*pi23)+1)*.4; |
| 356 | per_frame_17=q9= (sin(atime-1*pi23)+1)*.4; |
| 357 | per_frame_18=q10=(sin(atime-2*pi23)+1)*.4; |
| 358 | per_frame_19= |
| 359 | per_frame_20=vb = vb*0.95 + (1-vb)*pow(abs(bass-bass_att),2)*0.02; |
| 360 | per_frame_21=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 361 | per_frame_22=vm = vm*0.95 + (1-vm)*pow(abs(mid-mid_att),2)*0.02; |
| 362 | per_frame_23=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 363 | per_frame_24=vt = vt*0.95 + (1-vt)*pow(abs(treb-treb_att),2)*0.02; |
| 364 | per_frame_25=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 365 | per_frame_26=vvb = min(1,max(0,vvb)); |
| 366 | per_frame_27=vvm = min(1,max(0,vvm)); |
| 367 | per_frame_28=vvt = min(1,max(0,vvt)); |
| 368 | per_frame_29=q1 = (vvt+vvm+vvb)*100; |
| 369 | per_frame_30=q2 = (vvt+vvm+vvb)*100; |
| 370 | per_frame_31=q3 = (vvt+vvm+vvb)*100; |
| 371 | per_frame_32=q4 =(vvt+vvm+vvb)*100; |
| 372 | per_frame_33=q5 =(vvt+vvm+vvb)*100; |
| 373 | per_frame_34=q6 =(vvt+vvm+vvb)*100; |
| 374 | per_frame_35=q4 =(vvt+vvm+vvb)*100; |
| 375 | per_frame_36=q5 =(vvt+vvm+vvb)*100; |
| 376 | per_frame_37=q6 =(vvt+vvm+vvb)*100; |
| 377 | per_frame_38=q7 =(vvt+vvm+vvb)*100; |
| 378 | per_frame_39=q11=(vvt+vvm+vvb)*100; |
| 379 | per_frame_40=q12=(vvt+vvm+vvb)*100; |
| 380 | per_frame_41=q13=(vvt+vvm+vvb)*100; |
| 381 | per_frame_42=q14=(vvt+vvm+vvb)*100; |
| 382 | per_frame_43=q15=(vvt+vvm+vvb)*100; |
| 383 | per_frame_44=q16=(vvt+vvm+vvb)*100; |
| 384 | per_frame_45=q17=(vvt+vvm+vvb)*100; |
| 385 | per_frame_46=q18=(vvt+vvm+vvb)*100; |
| 386 | per_frame_47=q19=(vvt+vvm+vvb)*100; |
| 387 | per_frame_48=q20=(vvt+vvm+vvb)*100; |
| 388 | per_frame_49=q21=(vvt+vvm+vvb)*100; |
| 389 | per_frame_50=q22=(vvt+vvm+vvb)*100; |
| 390 | per_frame_51=q23=(vvt+vvm+vvb)*100; |
| 391 | per_frame_52=q24=(vvt+vvm+vvb)*100; |
| 392 | per_frame_53=q25=(vvt+vvm+vvb)*100; |
| 393 | per_frame_54=q26=(vvt+vvm+vvb)*100; |
| 394 | per_frame_55=q27=(vvt+vvm+vvb)*100; |
| 395 | per_frame_56=q28=(vvt+vvm+vvb)*100; |
| 396 | per_frame_57=q29=(vvt+vvm+vvb)*100; |
| 397 | per_frame_58=q30=(vvt+vvm+vvb)*100; |
| 398 | per_frame_59=q31=(vvt+vvm+vvb)*100; |
| 399 | per_frame_60=q32=(vvt+vvm+vvb)*100; |
| 400 | per_frame_61= |
| 401 | per_frame_62=// Dark side of the moon |
| 402 | per_frame_63=// 2007.01.23 raron |
| 403 | per_frame_64= |
| 404 | per_frame_65=angle = 4.38 + bass * 0.1; |
| 405 | per_frame_66=q1 = angle; |
| 406 | per_frame_67=q8 = meshx/meshy; |
| 407 | per_frame_68= |
| 408 | per_frame_69= |
| 409 | per_frame_70=dec_med = pow (0.9, 30/fps); |
| 410 | per_frame_71=dec_slow = pow (0.9, 30/fps); |
| 411 | per_frame_72=beat = max (max (bass, mid), treb); |
| 412 | per_frame_73=avg = avg*dec_slow + beat*(1-dec_slow); |
| 413 | per_frame_74=is_beat = above(beat, .1+avg+peak) * above (time, t0+.2); |
| 414 | per_frame_75=t0 = is_beat*time + (1-is_beat)*t0; |
| 415 | per_frame_76=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 416 | per_frame_77=index = (index + is_beat) %16; |
| 417 | per_frame_78=index2 = (index2 + is_beat*bnot(index))%5; |
| 418 | per_frame_79=monitor = index2; |
| 419 | per_frame_80=q20 = avg; |
| 420 | per_frame_81=q21 = beat; |
| 421 | per_frame_82=q22 = peak; |
| 422 | per_frame_83=q23 = index; |
| 423 | per_frame_84=q24 = is_beat; |
| 424 | per_frame_85=q26 = bass + mid + treb; |
| 425 | per_frame_86=q27 = index; |
| 426 | per_frame_87=q28 = index2; |
| 427 | per_frame_88=k1 = is_beat*equal(index%2,0); |
| 428 | per_frame_89=p1 = k1*(p1+1) + (1-k1)*p1; |
| 429 | per_frame_90=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 430 | per_frame_91=rott_ = p2 * 3.1416/4; |
| 431 | per_frame_92=rott = rott + .2*30/fps*q2; |
| 432 | per_frame_93=q1 = cos(rott); |
| 433 | per_frame_94=q2 = sin(rott); |
| 434 | per_frame_95=q3 = -q2; |
| 435 | per_frame_96=q4 = q1; |
| 436 | per_frame_97=ran = bnot(q24)*ran + q24 * (int(rand(50))-24); |
| 437 | per_frame_98=tran = tan(ran); |
| 438 | per_frame_99=tran = max(tran,-5); |
| 439 | per_frame_100=tran = min(tran,5); |
| 440 | per_frame_101=trel = trel + .02*30/fps*tran+q24; |
| 441 | per_frame_102=q5 = cos(trel); |
| 442 | per_frame_103=q6 = sin(trel); |
| 443 | per_frame_104=q7 = -q6; |
| 444 | per_frame_105=q8 = q5; |
| 445 | per_frame_106=movex = movex*dec_slow + .1*sin(rott)*30/fps; |
| 446 | per_frame_107=q9 = movex; |
| 447 | per_frame_108=spd = spd*bnot(q24) + q26*q24; |
| 448 | per_frame_109=movez = movez + .005*30/fps*spd; |
| 449 | per_frame_110=q30 = movez; |
| 450 | per_frame_111=//q30 = .3* (sin(time/45) + 1.5); |
| 451 | per_frame_112=mv_x = 20; |
| 452 | per_frame_113=mv_y = 15; |
| 453 | per_frame_114=mv_a = .1; |
| 454 | per_frame_115=mv_l = 0; |
| 455 | per_frame_116=q18 = sin(time/7); |
| 456 | per_frame_117=q19 = sin(time/11); |
| 457 | per_frame_118=q32 = pow(0.98, 30/fps); //fade |
| 458 | per_frame_119= |
| 459 | per_frame_120=// coordinates spiral 1 |
| 460 | per_frame_121=q10 = 0; // X |
| 461 | per_frame_122=q11 = -0.5; // Y |
| 462 | per_frame_123= |
| 463 | per_frame_124=// coordinates spiral 2 |
| 464 | per_frame_125=q12 = 0; |
| 465 | per_frame_126=q13 = 0.5; |
| 466 | per_frame_127= |
| 467 | per_frame_128=q14 = 0.5/asin(1); // pi/4 |
| 468 | per_frame_129= |
| 469 | per_frame_130=q15 = time*0.1; // rotation |
| 470 | per_frame_131=q16 = -time*0.1; // growth |
| 471 | per_pixel_1=zoom = 1; |
| 472 | per_pixel_2=warp = .1; |
| 473 | warp_1=`sampler sampler_worms; |
| 474 | warp_2=`float3 color, mus; |
| 475 | warp_3=`float dx,dy; |
| 476 | warp_4=`shader_body { |
| 477 | warp_5=`float2 uv1 = (uv-.5) * aspect.xy; |
| 478 | warp_6=` |
| 479 | warp_7=`float2 uv6 = uv1; |
| 480 | warp_8=`float z = .2*q28*length(uv1)+rand_frame * 64; |
| 481 | warp_9=`float2 d = normalize(uv1); |
| 482 | warp_10=`float clp = .5+rand_preset*10; |
| 483 | warp_11=`float2 rs = clamp(tan(z)*d,-clp,clp); |
| 484 | warp_12=`uv += rs/20; |
| 485 | warp_13=` |
| 486 | warp_14=`uv6 = .4*sin(uv1*2*(4+q28)); |
| 487 | warp_15=`mus = .06/(length(uv6)); |
| 488 | warp_16=`mus *= roam_cos; |
| 489 | warp_17=` |
| 490 | warp_18=`float3 blur = GetBlur1(frac(uv)); |
| 491 | warp_19=` |
| 492 | warp_20=`float3 crisp= tex2D(sampler_main,uv); |
| 493 | warp_21=` |
| 494 | warp_22=`float3 ret1 = crisp - blur*.04 + .15*mus; |
| 495 | warp_23=` |
| 496 | warp_24=`//ret1 = lerp(ret1,ret1.gbr,lum(ret1)); |
| 497 | warp_25=`q25 = q24+.01; |
| 498 | warp_26=`ret = q25*(ret1-.362)*.428 + (1-q25)* (GetPixel(uv_orig)-.0015); |
| 499 | warp_27=`} |
| 500 | comp_1=`float3 ret1, neu; |
| 501 | comp_2=`float2 uv2,uv3; |
| 502 | comp_3=`shader_body |
| 503 | comp_4=`{ |
| 504 | comp_5=`float2 uv2; |
| 505 | comp_6=`float ang2, c, s; |
| 506 | comp_7=`uv -= 0.5; |
| 507 | comp_8=`uv *= aspect.xy; |
| 508 | comp_9=` |
| 509 | comp_10=`uv = mul(uv, float2x2(_qb)); |
| 510 | comp_11=` |
| 511 | comp_12=`float dist = 1; |
| 512 | comp_13=`float inten = 1; |
| 513 | comp_14=`ret1 = 0; |
| 514 | comp_15=`int anz = 4; |
| 515 | comp_16=`float n = anz; |
| 516 | comp_17=`while (n >= 0) { |
| 517 | comp_18=` ang2 = 1*n/anz; |
| 518 | comp_19=` c = cos(ang2); |
| 519 | comp_20=` s = sin(ang2); |
| 520 | comp_21=` uv2.x = uv.x*c - uv.y*s; |
| 521 | comp_22=` uv2.y = uv.x*s + uv.y*c; |
| 522 | comp_23=`//uv2 = uv; |
| 523 | comp_24=` dist = 1-frac(1.0/anz*n+q30); //evtl sqrt ! |
| 524 | comp_25=` inten = sqrt(dist)*(1-dist)*2; |
| 525 | comp_26=`float2 uv3 = 3*uv2*dist*(1+q5*uv.x) + 0.5 +float2(q18*n,q19) ; |
| 526 | comp_27=` |
| 527 | comp_28=`float2 numerator, denominator, fraction; |
| 528 | comp_29=` |
| 529 | comp_30=`/*** Flexis cleaned up Moebius spiral code ***/ |
| 530 | comp_31=` |
| 531 | comp_32=`float cutoff = 0.97; |
| 532 | comp_33=`int n1 = -1; |
| 533 | comp_34=`float s = .5; |
| 534 | comp_35=` |
| 535 | comp_36=` float2 c = (uv3-0.5)*2*aspect.wz; |
| 536 | comp_37=` numerator = (c + float2(q10,q11))*64; |
| 537 | comp_38=` denominator = c + float2(q12,q13); |
| 538 | comp_39=` fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, |
| 539 | comp_40=` numerator.y*denominator.x - numerator.x*denominator.y)/ |
| 540 | comp_41=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 541 | comp_42=` c = fraction-0.5; |
| 542 | comp_43=` float1 ang_hq = n*n1*atan2(c.x,c.y); |
| 543 | comp_44=` float2 spiral = float2(n+ang_hq*q14+q15,n+s*aspect.w*log(length(c))+ang_hq*q14+q16); |
| 544 | comp_45=` spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*cutoff; // mirror |
| 545 | comp_46=` |
| 546 | comp_47=`/**********************************************/ |
| 547 | comp_48=`float3 cmul = float3(dist,1-dist,1-(dist-.5)*(dist-.5)*4); |
| 548 | comp_49=` neu = tex2D(sampler_main,spiral) +q6*GetBlur1(frac(spiral*1.04)).bgr*1; |
| 549 | comp_50=` |
| 550 | comp_51=`// neu = neu*cmul; |
| 551 | comp_52=` ret1 = max(ret1,neu*inten); |
| 552 | comp_53=`n--; |
| 553 | comp_54=`} |
| 554 | comp_55=` |
| 555 | comp_56=`ret1 = lerp(ret1,ret1.gbr,q26/6); |
| 556 | comp_57=`ret = ret1*2 + (1-rad)*q26/99*GetPixel(q5/99+uv*(2-rad)); |
| 557 | comp_58=` |
| 558 | comp_59=`} |